package com.ssmdemo.service;

import com.baomidou.mybatisplus.service.IService;
import com.ssmdemo.pojo.BusinessException;
import com.ssmdemo.pojo.User;

import java.util.Set;

public interface UserService extends IService<User> {

    User login(String username,String password) throws BusinessException;
    User getLoginName(String username);
    Set<String> getPermissionCodeById(Integer id);
}
